﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ACP.Data;
using ACP.DTO;

namespace ACP.Business
{
    public class ResultLogic
    {
        public static void InsertCurrentExamInformation(result result)
        {
            ResultsRepository.InsertCurrentExamInformation(result);
        }

        public static void UpdateResult(result resultObject)
        {
            ResultsRepository.UpdateResult(resultObject);
        }

        public static result GetResultById(int testId)
        {
            return ResultsRepository.GetResultById(testId);
        }

        public static result GetResultsWithAssociations(int _testId)
        {
            return ResultsRepository.GetResultsWithAssociations(_testId);
        }
      
    }
}
